package com.css.fxfzypg.modules.baseData.service;

import com.alibaba.fastjson.JSONObject;
import com.css.fxfzypg.modules.baseData.entity.Road;
import com.css.fxfzypg.modules.baseData.queryParams.RoadQueryParams;
import com.css.fxfzypg.modules.baseData.vo.RoadVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface RoadService {
    RoadVO updateRoad(RoadVO roadVO);
    RoadVO getRoadById(Integer id);
    void deleteRoad(List<Integer> ids);
    Road saveRoad(Road road);
    JSONObject getAllRoad(RoadQueryParams queryParams);
    //下载表中内容
    List<Road>getAll();
    //导入内容
    void importExcel(MultipartFile file) throws IOException;
}
